﻿using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;

namespace Thaire.Investment.Repository.Mapping
{
    class NoprivilegeSignMap : ClassMap<NoprivilegeSign>
    {
        public NoprivilegeSignMap()
        {
            Table("NOPRIVILEGE_SIGN");
            Id(x => x.NoprivilegeSignId, "NOPRIVILEGE_SIGN_ID").GeneratedBy.Identity();
            Map(x => x.NoprivilegeSignSymbol, "NOPRIVILEGE_SIGN_SYMBOL");
            Map(x => x.NoprivilegeSignName, "NOPRIVILEGE_SIGN_NAME");
            Map(x => x.NoprivilegeSignDesc, "NOPRIVILEGE_SIGN_DESC");
        }
    }
}
